<template>
  <div id="app">
      App
    <div><router-link to="/home">首页</router-link></div>
    <div><router-link to="/register">注册</router-link></div>
    <div><router-link to="/about">关于</router-link></div>
    <div><router-link to="/todolist.html">待办事项</router-link></div>

    <!-- 在 router-view 组件渲染当前满足路由路径条件的路由组件 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style lang="scss" scoped>

</style>
